<!-- index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <div class="container">
        <h1>登录</h1>
        <form id="login-form" action="login.php" method="POST">
            <label for="email">邮箱：</label>
            <input type="email" id="email" name="email" required>
            <br>
            <label for="password">密码：</label>
            <input type="password" id="password" name="password" required>
            <br>
            <button type="submit">登录</button>
        </form>
        <p>还没有账号？<a href="register.html">去注册</a></p> 
    </div>
</body>
</html>